<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="__PUBLIC__/Css/public.css"/>
</head>
<body>
<form action="<?php echo U('Admin/Excel/editHandle');?>" method="post">
<table class="table">
    <tr>

        <th>学籍号</th>
        <th>考号</th>
        <th>班级</th>
        <th>姓名</th>
        <th>平均分</th>
        <th>总分</th>
        <th>合格科目数</th>
        <th>班级等级</th>
        <th>全校等级</th>
        <th>学年</th>
        <th>学期</th>
    </tr>
    <tr>
        <td><?php echo ($nati["student_number"]); ?></td>
        <td><?php echo ($nati["test_number"]); ?></td>
        <td><?php echo ($nati["class"]); ?></td>
        <td><?php echo ($nati["student_name"]); ?></td>
        <td><?php echo ($average); ?></td>
        <td><?php echo ($total_points); ?></td>
        <td><?php echo ($standard); ?></td>
        <td><?php echo ($class_order); ?></td>
        <td><?php echo ($schol_order); ?></td>
        <td id="y"><?php echo ($nati["school_year"]); ?></td>
        <td id="t"><?php echo ($nati["term"]); ?></td>
    </tr>
    <?php if(is_array($sub_res)): foreach($sub_res as $key=>$v): ?><tr>
            <td><?php echo ($v["subject"]); ?></td>
            <td><input maxlength="3" type="text" name="<?php echo ($v["subject"]); ?>" value="<?php echo ($v["result"]); ?>"></td>
        </tr><?php endforeach; endif; ?>


</table>
    <input type="hidden" name="test_number" value="<?php echo ($nati["test_number"]); ?>">
    <input type="submit" value="保存">
</form>
</body>
</html>